<html>
<head><meta charset="utf-8"><title>rustc_private · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rustc_private.html">rustc_private</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="243982667"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rustc_private/near/243982667" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Riccardo D&#x27;Ambrosio <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rustc_private.html#243982667">(Jun 25 2021 at 23:48)</a>:</h4>
<p>Hello!</p>
<p>I am writing a rustc codegen backend and i turned on <code>rustc_private = true</code> inside Cargo.toml for <code>package.metadata.rust-analyzer</code>but despite that, rust-analyzer does not recognize the rustc extern crates. Am i missing a step or just blind? <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="243989338"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rustc_private/near/243989338" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Riccardo D&#x27;Ambrosio <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rustc_private.html#243989338">(Jun 26 2021 at 02:11)</a>:</h4>
<p>lol nvm i forgot to set the rustc source path in the settings (maybe warn of this to prevent confusion?)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>